package org.jet.emall.prod.po;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author xiaozai
 * @since 2020-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SpuView对象", description="VIEW")
public class SpuView implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "分类ID")
    private Integer cate1Id;

    @ApiModelProperty(value = "分类ID")
    private Integer cate2Id;

    @ApiModelProperty(value = "分类ID")
    private Integer cate3Id;

    @ApiModelProperty(value = "分类名称")
    private String cate1Name;

    @ApiModelProperty(value = "分类名称")
    private String cate2Name;

    @ApiModelProperty(value = "分类名称")
    private String cate3Name;

    @ApiModelProperty(value = "SPU自增主键")
    private Long id;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "SPU编码")
    private String code;

    @ApiModelProperty(value = "上下架: 1-下架，0-上架")
    private Byte banSale;

    @ApiModelProperty(value = "产品简介")
    private String brief;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "品牌编码")
    private String brandCode;

    @ApiModelProperty(value = "自增主键")
    private Integer brandId;

    @TableLogic
    @ApiModelProperty(value = "逻辑删除字段: 1-已删除, 0-未删除")
    private Byte deleted;


}
